package com.coolingme.general;

/**
 * 抽象同事类,每一个同事对象均需要依赖中介者角色，与其他同事通信时，由中介者进行转发
 *
 * @author wangyue
 * @date 2020-09-26 21:25
 */
public abstract class AbstractColleague {

    protected AbstractMediator mediator;

    public AbstractColleague(AbstractMediator mediator) {
        this.mediator = mediator;
    }
}
